from pydantic_settings import BaseSettings


class Settings(BaseSettings):
    # 必须参数
    PROJECT_NAME: str = "PosterGenius"
    ENVIRONMENT: str = "development"  # development/staging/production

    # 可选参数
    API_PREFIX: str = "/api/v1"

    class Config:
        env_file = "../.env"  # 根据实际位置调整
        case_sensitive = True


settings = Settings()